const log =console.log;

log('architecture:',process.arch);//CPU架构信息
log('platform:%s\n',process.platform);//操作系统

log('process id:',process.pid);//进程id信息
log('execPath:%s\n',process.execPath);//nodeJS可执行文件路径

//返回内存使用情况
log('rss:',process.memoryUsage().rss);
log('heapTotal:',process.memoryUsage().heapTotal);
log('heapUsed:',process.memoryUsage().heapUsed);
log('external%s\n:',process.memoryUsage().external);

